import styled from 'styled-components'

export const ToUpStyle= styled.div`
.toUp {
    position: fixed;
    right:3rem;
    bottom:7.5rem;
    width:2.5rem;
    height:2.5rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    &:before {
        content: '▲';
        display: block;
        text-align: center;
        color: #aaa;
        line-height: 42px;
    }
    &:hover:before {
        content: '回顶部';
    }
}
`